package czy.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/any")
public class AnyController {


    @GetMapping("/info")
    public String info(){
        return "这个接口需要ADMIN、USER两个角色之一才可以访问";
    }
}
